/**
 * Apr 2, 2011
 * 9:35:36 PM
 * Timiz
 * kukujun@gmail.com
 *cn.lastjune.servicetimiz-project-dpProblemService
 */
package cn.lastjune.service;

import java.util.List;

import cn.lastjune.pojo.Problem;
import cn.lastjune.util.Page;

/**
 * @author Timiz
 *         kukujun@gmail.com
 */
public interface ProblemService
{
    Page<Problem> getAll(Page<Problem> page);

    Problem getProblemById(String id);

    void insertProblem(Problem entity);

    void deleteProblem(String id);

    void updateProblem(Problem entity);
    
    List<Problem> getAllFilter(String searchtype,String filter);
}
